using System;
using System.Linq;

namespace FoundationLib.Ifc.Logging 
{
	/// <summary>
	/// This abstract business logger superclass implements the Strategy pattern.
	/// Derive from this class to implement particular logging algorithms.
	/// </summary>
	public abstract class BusinessLogger : IBusinessLogger 
	{
		/// <summary>
		/// Creates a new business logger.
		/// </summary>
		protected BusinessLogger()
		{
		}

		/// <summary>
		/// Logs the given item.
		/// </summary>
		/// <param name="item">The item to be logged</param>
		public abstract void Log(LogItem item);

	}

}